<?php
include("include/conn.php");
require('include/Smarty/libs/Smarty.class.php');

$deletebillDetail = "DELETE FROM billmstdetail
                      WHERE billMstId = ".$_GET['billId'];
$deletebillDetailRes = mysql_query($deletebillDetail);

$deletebill = "DELETE FROM billmst
                WHERE billMstId = ".$_GET['billId'];
$deletebillRes = mysql_query($deletebill);

header("location:billOriginalList.php");
?>